package com.ys.service.finance.impl;

import com.alibaba.fastjson.JSON;
import com.ys.entity.sys.TbCompanyBankInfo;
import com.ys.mapper.finance.FinanceMapper;
import com.ys.mapper.finance.TcwFinancialTransactionTypeItemMapper;
import com.ys.mapper.hr.HrMapper;
import com.ys.mapper.hr.TwlStockBorrowDetailMapper;
import com.ys.service.finance.TcwFinancialTransactionTypeItemService;
import com.ys.service.flow.YspTaskService;
import com.ys.util.CheckUtil;
import com.ys.vo.R;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import java.util.Map;

/**
 * 
 */
@Service("tcwFinancialTransactionTypeItemService")
public class TcwFinancialTransactionTypeItemServiceImpl implements TcwFinancialTransactionTypeItemService {
	private static final Logger logger = LoggerFactory.getLogger(TcwFinancialTransactionTypeItemServiceImpl.class);
	@Autowired
	private TcwFinancialTransactionTypeItemMapper tcwFinancialTransactionTypeItemMapper;

	//删除
	@Override
	public R del(Long id)throws Exception{
		tcwFinancialTransactionTypeItemMapper.deleteTrue(id);
		return R.ok();
	}

}
